home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 66
/
Vol 66.iso
/
games
/
doodle_d.swf
/
scripts
/
frame_107
/
DoAction_4.as
< prev
next >
Wrap
Text File
|
2013-04-24
|
675b
|
29 lines
function spawn()
{
if(eNumb < 6)
{
eAmount++;
eNumb++;
depth = _root.getNextHighestDepth();
_root.attachMovie("en16","e" + eNumb,depth);
e = eval("e" + eNumb);
e._x = Math.random() * 600 + 20;
e._y = Math.random() * 40 + 640;
e.che = eAmount;
}
if(eNumb2 < 7)
{
eAmount++;
eNumb2++;
depth = _root.getNextHighestDepth();
_root.attachMovie("en17","e" + (eNumb2 + 6),depth);
e = eval("e" + (eNumb2 + 6));
e._x = Math.random() * 640;
e._y = 640 + Math.random() * 100;
e.che = eAmount;
}
}
var eNumb = 0;
var eNumb2 = 0;
var eAmount = 0;